<?php
session_start();
if(isset($_SESSION['language1']))
{
unset($_SESSION['language1']);
}
include ('header1.php');
 //include('databaseconnection.php');
 


			 echo   "<table width='100%' height='82' border='1' class='table' align='left'>
<tr bgcolor='#FFFFFF'>
<th >Term</th>
<th>Domain</th>
<th>Accepted Meaning</th>
<th>Language</th>
<th>Votes</th>
<th>More</th>
</tr>";
$result=mysql_query("SELECT * FROM terms");
if(!$result) echo "invalid";
while($row=mysql_fetch_array($result))
{
//echo "<form action='moreForHome1.php' method='POST'>";
echo "<tr>";
$term=$row['term'];
echo "<td width='20%'>".$row['term']."<input type='hidden' name='butt' value='$term'</td>";
echo "<td width='15%'>".$row['domain']."</td>";
$acc_mean=$row['accepted_meaning'];
echo "<td width='35%'>".$row['accepted_meaning']."<input type='hidden' name='butt1' value='$acc_mean'</td>";
echo "<td width='15%'>".$row['language']."</td>";


echo "<td width='10%'>".$row['votes']."</td>";
//echo "<td width='33%'>".$row['comments']."</td>";
//echo "<td width='5%'><input type='submit' name='$term' value='more'/>";
echo "<td width='3%'><a href='moreForHome1.php?lih1=$term.$acc_mean'>More</a></td>";

echo "</tr>";
//echo "</form>";
}

echo "</table>";
            
include ('footer1.php');
?>
